package com.hiabr.iep.common.domain.enums;

/**
 * YesOrNo
 */
public enum YesOrNo {
    YES(1, "是"),
    NO(0, "否");

    private Integer code;
    private String description;

    YesOrNo(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
